package com.yyh;

public class Abstract1 {
    public static void main(String[] args) {

    }
}
abstract class Animal {
    public abstract void eat();
}
class Dog extends Animal {
    @Override
    public void eat() {
        System.out.println("吃吃吃");
    }
}
